<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Draft extends CI_Controller {
	public function index()
	{
		$this->load->model('player_model');

		$data['page_title'] = "picknroll | Draft Board";

		$query = $this->player_model->getPlayers();
		$draft['players'] = $query->result_array();

		$this->load->view('header_view', $data);
		$this->load->view('draft_view', $draft);
		$this->load->view('footer_view');
	}
}
